package com.weiyuwqj.api.model;

import javax.persistence.*;
import java.io.Serializable;

@Table(name = "bus_item_auto_sort")
public class BusItemAutoSort implements Serializable{
    @Id
    private Integer id;

    /**
     * 自动投标id
     */
    @Column(name = "auto_id")
    private Integer autoId;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 自动投标排序
     */
    private String sort;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取自动投标id
     *
     * @return auto_id - 自动投标id
     */
    public Integer getAutoId() {
        return autoId;
    }

    /**
     * 设置自动投标id
     *
     * @param autoId 自动投标id
     */
    public void setAutoId(Integer autoId) {
        this.autoId = autoId;
    }

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取自动投标排序
     *
     * @return sort - 自动投标排序
     */
    public String getSort() {
        return sort;
    }

    /**
     * 设置自动投标排序
     *
     * @param sort 自动投标排序
     */
    public void setSort(String sort) {
        this.sort = sort;
    }
}